<template>
  <div>
    <h2>{{ fatherNum }}</h2>
    <!-- <HMnum :num="fatherNum" @input="inputEvent" /> -->
    <!-- <HMnum :num="fatherNum" @input="fatherNum = $event" /> -->
    <HMnum v-model="fatherNum" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      fatherNum: 1
    }
  },
  methods: {
    // inputEvent(num) {
    //   this.fatherNum = num
    // }
  }
}
</script>

<style lang="scss" scoped></style>
